<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div>
    <div>/login</div>
    <!--点击登录跳转请求 http://localhost:8080/home/enter, 重定向到home.html-->
    <form action="/home/enter" method="get">
        用户名：<input type="text" name="username"/><br/>
        密--码：<input type="password" name="password"/><br/>
        <input type="submit" value="登录"/>
    </form>

    <!--<form>
        用户名：<input type="text" name="username"/><br/>
        密&#45;&#45;码：<input type="password" name="password"/><br/>
        <input type="submit" value="登录" onclick="location.href='home.html'"/>
    </form>-->
</div>

</body>
</html>